<div class="container pos-r">
    <div class="login-wrap clearfix">
        <div class="pos-r block-top">
            <form class="pos-r form-horizontal login-form" name="registerForm" novalidate>
                <div class="form-group sys-name">邀请码注册</div>
                <div class="form-group clearfix">
                    <label class="col-xs-3 control-label text-left font-14">企业名称</label>
                    <div class="col-xs-9 wrapper-none">
                        <input type="text" name="orgName" class="form-control login-txt" ng-model="orgObj.orgName" ng-focus="resetMessage()"
                               ng-class="{'error': !!showFormError && registerForm.orgName.$error.required}" required>
                    </div>
                </div>
                <div class="form-group clearfix">
                    <label class="col-xs-3 control-label text-left font-14">企业代码</label>
                    <div class="col-xs-9 wrapper-none">
                        <input type="text" name="orgCode" class="form-control login-txt" ng-model="orgObj.orgCode" ng-focus="resetMessage()"
                               ng-class="{'error': !!showFormError && registerForm.orgCode.$error.required}"  required>
                    </div>
                </div>
                <div class="form-group clearfix">
                    <label class="col-xs-3 control-label text-left font-14">组织机构代码</label>
                    <div class="col-xs-9 wrapper-none">
                        <input type="text" name="orgCode" class="form-control login-txt" ng-model="orgObj.orgCode" ng-focus="resetMessage()"
                               ng-class="{'error': !!showFormError && (registerForm.orgCode.$error.required||registerForm.orgCode.$error.serialNo)}" yb-serial-no maxlength="20"   required>
                    </div>
                </div>
                <div class="form-group clearfix m-b-lg">
                    <label class="col-xs-3 control-label text-left font-14">邀请码</label>
                    <div class="col-xs-9 wrapper-none">
                        <input type="text" name="invitation" class="form-control login-txt" ng-model="orgObj.invitation" ng-focus="resetMessage()"
                               ng-class="{'error': !!showFormError && registerForm.invitation.$error.required}" required>
                    </div>
                    <div class="login-error-msg-">
                        <span ng-if="failRegister && !showFormError">{{Message}}</span>
                    </div>
                </div>
                <button type="submit" class="btn btn-primary btn-login m-b-sm" ng-click="doRegister(registerForm.$valid)">注  册</button>
                <button type="submit" class="btn btn-default btn-login" ng-click="cancel()">取  消</button>
            </form>
        </div>
        <div class="pos-r block-bottom">
            <div class="copyright">Copyright©2018 徐州徐工机械有限公司版权所有</div>
        </div>
    </div>
</div>